3
|
How do I change the control's border, using your EBN files
exstatusbar1.BeginUpdate();
exstatusbar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exstatusbar1.Appearance = (exontrol.EXSTATUSBARLib.AppearanceEnum)0x1000000;
exstatusbar1.VisualAppearance.Add(4,"c:\\exontrol\\images\\border.ebn");
exstatusbar1.VisualAppearance.Add(5,"CP:4 1 1 -1 -1");
exstatusbar1.BackColorPanels32 = 0x5000000;
exstatusbar1.Format = "1,2,3,4,(5/6/7/8)";
exstatusbar1.Debug = true;
exstatusbar1.EndUpdate();
|
2
|
How do I remove the control's border
exstatusbar1.BeginUpdate();
exstatusbar1.Appearance = exontrol.EXSTATUSBARLib.AppearanceEnum.None2;
exstatusbar1.VisualAppearance.Add(4,"c:\\exontrol\\images\\border.ebn");
exstatusbar1.VisualAppearance.Add(5,"CP:4 1 1 -1 -1");
exstatusbar1.BackColorPanels32 = 0x5000000;
exstatusbar1.Format = "1,2,3,4,(5/6/7/8)";
exstatusbar1.Debug = true;
exstatusbar1.EndUpdate();
|
1
|
How can I change the control's font
exstatusbar1.BeginUpdate();
exstatusbar1.VisualAppearance.Add(4,"c:\\exontrol\\images\\border.ebn");
exstatusbar1.VisualAppearance.Add(5,"CP:4 1 1 -1 -1");
exstatusbar1.BackColorPanels32 = 0x5000000;
stdole.IFontDisp f = new stdole.StdFont();
f.Name = "Verdana";
f.Size = 12;
exstatusbar1.Font = (f as stdole.IFontDisp);
exstatusbar1.Format = "\"static text\"[fg=255][a=17],11,22,(33/44)";
exstatusbar1.EndUpdate();
|